Auto Scaling Group (ASG)

aws/compute aws/automation

💡 Definition

An Auto Scaling Group (ASG) is a collection of EC2 instances that are treated as a logical unit for the purposes of automatic scaling and management. It is the core component of Amazon Auto Scaling.

🔑 Key Concepts

⚙️ How it Works

  1. Define: You create an ASG, specifying the Launch Template and the VPC subnets.
  2. Monitor: The ASG monitors the health of instances.
  3. Scale: Based on alarms or schedules, it changes the Desired Capacity.
  4. Launch/Terminate: It calls the EC2 API to launch or terminate instances to match the Desired Capacity.

🎯 Use Cases

💰 Pricing Model

📝 Exam Tips (CLF-C02)


See Also: * Launch Template * Load Balancer * Auto Scaling